<template>
    <div class="content">
        <mt-header fixed title="火警通知">
            <div slot="left">
                <mt-button icon="back" @click.native="goback()">返回</mt-button>
            </div>
        </mt-header>
        <give-analarm :role="role"></give-analarm>
    </div>
</template>
<script>
import giveAnalarm from '@/component/giveAnalarm.vue'
export default {
  data () {
    return {

    }
  },
  created () {
    this.$store.commit('changeChoiceState', 'mine')
  },
  computed: {
    role () {
      return this.$store.state.user.authority
    }
  },
  components: {
    giveAnalarm
  },
  methods: {
    goback () {
      this.$router.go(-1)
    }
  }
}
</script>
<style lang="less" scoped>
.content{
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
}
</style>
